feat(api)!: add toolset prompts infrastructure#581
feat(api)!: add toolset prompts infrastructure#581nader-ziada merged 2 commits intocontainers:mainfrom
Conversation
docs/PROMPTS.md
Outdated
| ```toml | ||
| disable_toolset_prompts = true |
There was a problem hiding this comment.
@nader-ziada will this be a global option, or a per-toolset option?
There was a problem hiding this comment.
global option currently
There was a problem hiding this comment.
I believe I included this in #556
Disabling Toolset Prompts
Administrators can disable all toolset-defined prompts via configuration, using only config-defined prompts:
based on what Nader initially implemented in #510
IMO maybe we SHOULD NOT provide this option at all (prompts don't have any involuntary impact on the LLM behavior or consume context-window tokens)
OR if you consider this of value, provide a consistent implementation with what we have for tools (EnabledTools / DisabledTools).
There was a problem hiding this comment.
for the sake of simplicity, will remove the flag completely
Enable toolset implementers to define MCP prompts programmatically as part of their toolset definition. - Add GetPrompts() method to Toolset interface - Collect prompts from all enabled toolsets - Merge config and toolset prompts (config takes precedence) - Add disable_toolset_prompts configuration option - Update all existing toolsets to implement GetPrompts() Signed-off-by: Nader Ziada <nziada@redhat.com>
691a239 to
c8bb280
Compare
Signed-off-by: Nader Ziada <nziada@redhat.com>
Fixes: #556
Enable toolset implementers to define MCP prompts programmatically as part of their toolset definition.